package org.csu.sei.persistence;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.csu.sei.entity.Statistics;
import org.springframework.stereotype.Repository;

@Repository
public interface StatisticsMapper extends BaseMapper<Statistics> {
    @Select("select sum(count_num) from statistics where year = #{year} and mon = #{mon}")
    int selectMonRead(int year,int mon);
}
